package req

type SaveUpgradeDebReq struct {
	FileUrl string `json:"fileUrl"`

	Version string `json:"version"`
	/**
	 * sdk升级：sdk_upgrade
	 * 应用整包升级：all_upgrade
	 */
	Type string `json:"type"`
}

type DelUpgradeDebReq struct {
	IDs []string `json:"ids"`
}

type UpgradeBoxReq struct {
	Version EdgeUpgradeBoxVersion `json:"version"`
}

type EdgeUpgradeBoxVersion struct {
	UpgradeId      string      `json:"upgrade_id"`
	IsFromPlatform bool        `json:"is_from_platform"`
	PackageUrl     string      `json:"package_url"`
	BoxSoftware    BoxSoftware `json:"software"`
}

type BoxSoftware struct {
	Version string `json:"version"`
}

type UpdateSdkVo struct {
	Url       string `json:"url"`
	Version   string `json:"version"`
	UpgradeId string `json:"upgrade_id"`
}
